package cn.mado.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {

    private Long userId;
    private String username;
    private String password;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date creationTime;
    private Long state;
    private Long deptId;
    private String creator;
    private String alias;

    // 权限
    private Dept power;
    private Dept dpetname;

}
